package com.service;


import com.controller.reqdto.AddAddressParam;
import com.controller.reqdto.AddressQueryParam;
import com.controller.reqdto.AddressUpdateParam;
import com.controller.respdto.AddressList;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ruiwen
 * @since 2024-11-19
 */
@Service
public interface AddressService {


    /**
     * 获取地区列表
     * @return
     */
    AddressList getAddressList();

    /**
     * 分页获取地区列表
     * @return
     */
    AddressList queryAddressList(AddressQueryParam queryParam);

    /**
     * 更新地区信息
     * @param updateParam
     * @return
     */
    Boolean updateAddressMsg(AddressUpdateParam updateParam);

    Boolean deleteAddress(Integer id);

    Boolean addAddress(AddAddressParam addAddress);
}
